对于对象中基本类型的变量,浅拷贝(Shallow copy)是没问题的,但是对于一些reference变量,尽管经过clone之后会产生一个新的reference变量,但它和原始对象中对应的域指向同一个r...
基于698个网页-相关网页
The operating system sets the fields corresponding to the used resources in the VPA and maintains a shallow copy of them in the VPA.
操作系统将对VPA中与所使用的资源相对应的字段进行设置,并在VPA中维护它们的浅副本。
Creates a shallow copy of this hashtable.
创建一个哈希表的浅拷贝。
A shallow copy of an object is a copy of the object only.
对象的浅表副本仅是该对象的副本。
A particular instance of that is deep versus shallow copy.
一个很好的例子就是深复制和浅复制,当你想要复制一个链表的时候。
应用推荐